package com.network.utils.demo.http;

import java.io.Serializable;

/**
 * 项目创建人:
 * 创建人:fargo(罗)
 * Created by app on 2020/9/14  —————— 14:13
 * 作用:  基本的返回实体
 * 备注:
 **/
public class BaseResponseBean implements Serializable {

    private boolean success = false;
    private String data="";
    private String message="";
    private int code;//返回码


    public BaseResponseBean(String data, String message, int code) {
        this.data = data;
        this.message = message;
        this.code = code;
    }

    public boolean isSuccess() {
        return success;
    }

    public void setSuccess(boolean success) {
        this.success = success;
    }

    public String getData() {
        return data;
    }

    public void setData(String data) {
        this.data = data;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }


}
